The forEach() method invokes a callback for each key/value pair in a Map:
Using Map.forEach():
Using Map.entries():